package com.chushouya.controller.order.admin;

import com.chushouya.common.constant.ServiceType;
import com.chushouya.order.service.common.OrderExpressService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


@Slf4j
@Api(tags = ServiceType.PLATFORM + "平台快递管理")
@RestController
@RequestMapping(ServiceType.PLATFORM + "/express")
public class OrderExpressController {

    @Resource
    private OrderExpressService orderExpressService;

//    @ApiOperation("预约快递接口")
//    @PostMapping("/reserve")
//    public Response<Void> reserve(@RequestBody @Valid OrderExpressReserveDTO dto) {
//        orderExpressService.reserve(dto);
//        return Response.success();
//    }
//
//    @ApiOperation("取消快递接口")
//    @PostMapping("/cancel")
//    public Response<Void> cancel(@RequestBody @Valid OrderExpressCancelDTO dto) {
//        orderExpressService.cancel(dto);
//        return Response.success();
//    }
}
